package org.example.lethear.dto.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 用户资料DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserProfileDTO {
    
    private Long id;
    private String nickname;  // 改为nickname，与前端期望一致
    private String bio;
    private String phone;
    private LocalDate birthday;
    private String gender; // 改为String类型，与前端一致: "0"-保密, "1"-男, "2"-女
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
} 